%p
  %b= "Subject & Credit Hours"
  %p
  = @subject.name 
  = @subject.credit_hours

%p{style: "float: right;"}
  = link_to "Delete", @blog_post, method: :delete, confirm: "Are you sure you want to delete this post?"
%p{style: "clear: both;"}
  = link_to 'Back', subjects_path